<!DOCTYPE html>
<html>
  <head>
    <title>Bootstrap 101 Template</title>
    <!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
  </head>
  <body>
    <div id="search-koperasi-result">

<?php $index = 0; $max_arr_length = count($params_arr); ?>

<?php foreach($params_arr[$index] as $key => $value): ?>
	<div id="koperasi-detail<?php echo $key; ?>" class="koperasi-detail">
		<div class="photo-section">
		
		</div>
		<div class="detail-section">
			<div class="detail-koperasi-label-section">
				<div class="detail-koperasi-label">Nama Koperasi:</div>
				<div class="detail-koperasi-label">No Telp:</div>
				<div class="detail-koperasi-label">No Faximile:</div>
				<div class="detail-koperasi-label">Tanggal Berdiri:</div>
				<div class="detail-koperasi-label">Kota:</div>
				<div class="detail-koperasi-label">Provinsi:</div>
				<div class="detail-koperasi-label">Informasi:</div>
			</div>
			<div class="detail-koperasi-content-section">
				<div class="detail-koperasi-content"><?php echo $value['nama_kop']; ?></div>
				<div class="detail-koperasi-content"><?php echo $value['kode_telp']. " - ". $value['no_telp']; ?></div>
				<div class="detail-koperasi-content"><?php echo $value['kode_telp']. " - ". $value['no_fax']; ?></div>
				<div class="detail-koperasi-content"><?php echo $value['tgl_berdiri']; ?></div>
				<div class="detail-koperasi-content"><?php echo $value['kota']; ?></div>
				<div class="detail-koperasi-content"><?php echo $value['prov']; ?></div>
				<div class="detail-koperasi-content"><?php echo $value['info']; ?></div>
			</div>
		</div>
		
		<div class="detail-button-section">
		<form action="<?php echo ""; ?>" method="post">
			<input type="submit" value="View Koperasi" name="view_kop">
		</form>
		
		<form action="/incofarming/Functions/koperasi/delete_kop.php" method="post">
        <button class="btn" type="submit" value="Delete Koperasi" name="delete-button">Hapus</button>
			
			<input type="hidden" name="id_kop" value="<?php echo $value['id_kop']; ?>">
		</form>
		</div>
	</div>
<?php endforeach; ?>


</div>
    <script src="http://code.jquery.com/jquery-latest.js"></script>
    <script src="js/bootstrap.min.js"></script>
  </body>
</html>